<el-dialog :close-on-click-modal="false"  :close-on-press-escape="false"  :title="title" class="dialogStyleBase" width="1100px" :visible.sync="boxVisible" append-to-body
    :before-close="editBoxCancel">

    <div class="dialogStyleBaseBox" v-if="item">
        <el-table border :data="item.orderItemLst" style="width: 100%">
            <el-table-column label="商品" width="60">
                <template slot-scope="scope">
                    <img class="albumUrl" :src="scope.row.albumUrl" />
                </template>
            </el-table-column>
            <el-table-column label="">
                <template slot-scope="scope">
                    <div class="t1">{{ scope.row.productName }}</div>
                    <div class="t2" v-if="scope.row.spData">规格：{{ JSON.parse(scope.row.spData).textString }}</div>
                </template>
            </el-table-column>

            <el-table-column align="center" prop="buyNum" label="数量" width="90"></el-table-column>
            <el-table-column align="center" prop="activityPrice" label="单价" width="90"></el-table-column>
            <el-table-column align="center" prop="collectAmount" label="小计" width="90"></el-table-column>
            <el-table-column align="center" prop="promotionAmount" label="优惠金额" width="90"></el-table-column>
            <el-table-column align="center" prop="integralAmount" label="抵扣金额" width="90"></el-table-column>
            <el-table-column align="center" label="加价/减价(元)" width="160">
                <template slot-scope="scope">
                    <el-input-number v-model="modifyAmountData[scope.$index].num" @blur="numBlur($event,scope.$index)"
                        @change="numChange($event,scope.$index)" :precision="2"
                        :min="-modifyAmountData[scope.$index].price"></el-input-number>
                </template></el-table-column>
            <el-table-column align="center" label="实收金额" width="90">
                <template slot-scope="scope">
                    <div>
                        {{$vFN.Utils.countNumber_add(modifyAmountData[scope.$index].price,modifyAmountData[scope.$index].num)}}
                    </div>
                </template></el-table-column>
            </el-table-column>
        </el-table>

        <div v-if="item.orderFreight" class="box">
            <div class="tt">应收运费：￥{{item.orderFreight.collectAmount}}</div>
            <div class="tt">运费优惠：￥{{item.orderFreight.freightAmount}}</div>

            <div class="tt">实收运费：￥{{$vFN.Utils.countNumber_add(freight.price,freight.num)}}</div>
            <div class="tt tt2">加减：
                <el-input-number v-model="freight.num" @blur="freightBlur()" @change="freightChange()" :precision="2"
                    :min="-freight.price"></el-input-number>
            </div>
        </div>
        <div class="box b2">
            <div class="tt">应收总额：￥{{item.totalAmount}}</div>
            <div class="tt">优惠总额：￥{{item.promotionAmount}}</div>
            <div class="tt">实收总额：￥{{payAmount}}</div>
        </div>
    </div>
    <div slot="footer">
        <el-button @click="editBoxCancel()">取 消</el-button>
        <el-button type="primary" @click="submit()">确定</el-button>
    </div>
</el-dialog>